package com.meeting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meeting.entity.EquipmentType;
import org.apache.ibatis.annotations.*;

@Mapper
public interface EquipmentTypeMapper extends BaseMapper<EquipmentType> {
}
//@Mapper
//public interface EquipmentTypeMapper {
//
//    @Select("SELECT * FROM equipment_type")
//    List<EquipmentType> selectAll();
//
//    @Select("SELECT * FROM equipment_type WHERE id = #{id}")
//    EquipmentType selectById(Integer id);
//
//    @Insert("INSERT INTO equipment_type(name) VALUES(#{name})")
//    void insert(EquipmentType equipmentType);
//
//    @Update("UPDATE equipment_type SET name = #{name} WHERE id = #{id}")
//    void update(EquipmentType equipmentType);
//
//    @Delete("DELETE FROM equipment_type WHERE id = #{id}")
//    void delete(Integer id);
//}
